The boy was allowed to remain alone in a toilet for more than three hours at a school in Pembrokeshire, a professional standards hearing was told