Some states have included sexual orientation as a protected class. Not sure how that would work with a software license though. But if state law says a customer walking into a store can't be discriminated against based on sexual orientation, I would think it would transfer to a software license in some way. If not I am sure there is some attorney somewhere looking to make a name for themselves that would be happy to make an attempt.
Comments
https://en.m.wikipedia.org/wiki/Shelley_v._Kraemer
Strongly implies such a license is unenforceable.
Sex and race are protected classes. What if the license were just no-heteros?
Some states have included sexual orientation as a protected class. Not sure how that would work with a software license though. But if state law says a customer walking into a store can't be discriminated against based on sexual orientation, I would think it would transfer to a software license in some way. If not I am sure there is some attorney somewhere looking to make a name for themselves that would be happy to make an attempt.