Middle school teacher accused of illicit student relationship