Yes, it's Gender's Game, the exciting sic-fi adventure movie about a world training for war against an alien race from a distant planet! (And it doesn't rip off Ender's Game any more than Ender's Game rips off Starship Troopers, so no worries!) And because Earth's society in the movie has adopted a completely gender equal society, gender equality is mandated in the military; and due to rampant discrimination lawsuits, the only way the military could figure out how to be sure everything truly is, or at least appears, completely equal is to have everyone work in teams of two: one male and one female. But whereas the alien race reproduces asexually, and therefore with no emotional complications, humans still have to deal with love and sexual attraction and emotional attachment and jealousy and unrequited love and gender-based miscommunication, etc. And so in the simulated training missions (which are secretly the actual intergalactic war playing out for real), most couples' strategic combat efficiency and effectiveness are continuously impaired by sexual tension, attraction to one another, nervousness and awkwardness being so close to a member of the opposite sex (oh, and this is the genetically-engineered future, where eugenics cause everyone to be the very apex of sexual attractiveness, and all military trainees are teenagers at the absolute apogee of their post pubescent hormone overload), falling in love, paranoid of rejection, etc., and so they are constantly strategically outmatched and militarily overwhelmed in combat scenarios. Oh, but one couple are at the very top form of focus, strategy, performance, etc., and defeat the aliens in each and every encounter. And as it turns out, unbeknownst to the government and the military, and to all other trainee couples (all of whom are way too distracted with lust for their partner to notice anything about anyone else whatsoever), the boy is gay and the girl a lesbian in this super performance couple. And so it is the very fact that they are gay that enables them to succeed in this futuristic system, since they are not in the least bit attracted to or distracted by each other, and as such, they save the Earth from the alien invaders! And so, recognizing that the world has been saved by gay people, the government grants marriage equality to all, and both of our heroic team members gets married to their heretofore secret sweetheart. The End.
(Since the Ender's Game author is reportedly anti-gay, I thought it would be fun to have gay characters win the day in this take off on Ender's Game, and have it be not only that they are gay, but that this fact is what enables them to function so well within the confines of the military system, which had been designed to discourage homosexuality. And since the author is specifically opposed to gay marriage, naturally this take off ends with the military government granting marriage equality in recognition of the heroism of our heroes.)
(And of course, I support marriage equality for all, which is implicitly protected in our Constitution, as all equal rights are, whether people want to acknowledge it or not.)