Private schools can set any sort of arbitrary rule they like. They're private, they are funded privately, and their authority to set rules for after school activities, even on adults stems from private property rights, not "en loco parentis".
"En loco parentis" does not apply in the least to an adult off school grounds. Therefore the public school has no controlling legal authority in this case.
Apples and oranges.