A New York court issued a restraining order prohibiting New York Governor Andrew M. Cuomo from restricting religious needs as a component of curbing coronavirus spread.