St. Edward teacher accused of messaging undercover agent he thought was a minor to appear in court