Protests are being held outside school gates over the teaching of gay relationships at a school with predominantly Muslim pupils.