Over the past few years, the Supreme Court has been sketching the outline of a broad compromise on LGBTQ rights. Civil-rights protections will shield people from discrimination on the basis of sexual orientation and gender identity. At the same time…