The teacher became pregnant following an alleged sexual relationship that began when the pupil was under the age of 18