Wharton ISD school teacher accused of having sexual relations with student