A federal judge has upheld a former student’s lawsuit against the University of Massachusetts Amherst, arguing that the student did not have sufficient time to review a sexual assault case that led to his suspension from the school last year.