UK teachers are leaving for the UAE after struggling to find secure jobs at home, raising concerns over workforce planning and the future of teaching.