New York City Schools Chancellor David Banks warned teachers about violating Education Department rules on political speech amid Israel-Hamas war protests.