Student in gay counseling case loses in court