In the states that don't currently ban corporal punishments in schools, it's likely that the municipal centers of those states do. By way of example: this article had to focus on Union County MS, which is in the middle of nowhere even for Mississippi. Jackson is the municipal center of Mississippi, and it bans corporal punishment.
Where I am lost is that more general rules do not seem to apply. Adults cannot beat eachother without consent or ending up in criminal court. Teachers may be employed by the government, but I doubt they have the privileges of law enforcement. Rules of the schools are not even law (?!), probably closer to terms of service, which would make violations a matter of a civil court? Maybe because attending school isn't compulsory, attending voluntarily implies consent?