Lafayette teacher arrested for having sexual relationship with student