The court found it likely violates free-speech rights and granted an injunction blocking the funding withdrawal as a lawsuit plays out.