A federal judge has handed New York City churches a major victory, issuing a preliminary injunction that will allow congregations to meet in schools while the lawsuit proceeds — that is, unless the city wins on appeal.