Dallas prep school wins legal battle over student’s expulsion