Teacher accused of molesting girl