Court upholds sanctions against anti-trans Catholic student