A Texas teacher was caught having sex with a minor student by police who were called to an under-construction home where the caller spotted a “suspicious person,” authorities said.