Texas lawmakers hope an investment in teacher training will help keep new educators in the classroom longer