California priest wins in court fight against pandemic limits on churches