A Teesside teacher who failed to mention she was in a relationship with a sex offender has been barred from the classroom.