For more than 50 years, the US civil rights law known as Title IX has been a bulwark against sex discrimination in education.