Time to end discrimination by faith schools, says teaching union