Tinker vs. Des Moines Independent Community School District, 393 U.S. 503 (1969) says the kid wins.
https://en.wikipedia.org/wiki/Tinker_v._Des_Moines_Independent_Community_School_District
He almost certainly will win once he gets his day in court, this was just a request for an injunction until then that was denied.