Teachers union backs sexuality policy change