A federal judge has intervened on behalf of New York churches, issuing a temporary restraining order that allows them to continue meeting for worship in public schools while the court deliberates over the constitutionality of the city’s ban.