Florida lawmakers on Tuesday passed a Republican-backed bill that would prohibit classroom discussion of sexual orientation and gender identity for many young students, rejecting criticism and student protests that characterized the measure as discriminatory and misguided.