I'm not sure if what you're advocating is because of perhaps missing education on the subject but this is a serious hot button issue at the moment; I'm honestly surprised you'd espouse this so freely.
If the Supreme Court made an exceptionally broad ruling to the effect of forbidding any organ of the state revoking an appointment on the basis of first amendment protected speech uttered while not performing duties, then the ruling would protect a racist police officer and irate cheerleader equally.
The Supreme Court is, of course, very unlikely to make such a broad ruling in this case, but it does seem like that's the remedy which quite a few people in this thread would like to see decided.
I guess students sign behavior pledges or similar, but I'm more inclined to enforce an employment agreement against an adult than I am to give local school administrators complete control over what activities students they disapprove of participate in.