Teacher accused of sending teen explicit messages