Texas teacher sentenced after having relations with 15-year-old male student