I've always believed that the Constitution is pretty exact in how it should be read; unless the teacher is trying to pass a law in congress restricting free speech, I don't believe that it applies to the teacher.
However, the California State constitution is quite clear that the freedom of speech is an inherent right, which would apply in this situation.