Teacher accused of inappropriate texts to student