A Texas Democratic lawmaker who broke with her party by supporting a ban on gender-affirming care for minors was ousted in a primary runoff that galvanised LGBTQ+ groups nationwide, who then campaigned for her opponent in the race for the south Houston seat.