Teacher in court over sex with minor