Something positive to consider, although I understand your disappointment.
You were there when it counted most. When the community around you needed someone safe, someone that made their home feel less hostile and alienating. You’re not leaving at the worst time, you’re leaving at the best time.
The community that just voted Texas blue was there before it “turned” blue, and it’ll still be there in the years to come when you visit. Something on the map being a different color doesn’t mean Texas was bad before and now it’s good. The political landscape is very complex and I think it’s so admirable that you stayed there so long and survived it with your passion intact.