Teacher accused of having inappropriate relationship with student