It depends on what the political opinions are. I’m a dem but would be friends with someone who has more conservative values. Being a Trump supporter however is a different thing and a step too far for me personally. It demonstrates you lack critical thinking skills and I don’t want to be around people like that.
In these instances, I usually first try to understand why they’re voting for those policies. Do they genuinely believe in them? Do they just not care too much about politics but feel attracted to the rhetoric of a certain candidate? Why? This doesn’t work with everyone but sometimes I find I have friends who are open to at least DISCUSS the impact of horrible policies with me. Sometimes when a person has to reason through it themselves, they'll start to realize why something doesnt make sense.
I also just don’t think enabling is the right word. If I’m actively friends with someone but challenge their thinking or expose them to a point of view outside their echo chamber, I’m not enabling them. If I’m friends with someone who is pro life (forced birth imo), I’m not saying “yes, go yell at people outside of a planned parenthood!”
To give a more concrete example: I’ve had friends who don’t see abortion as a legitimate medical procedure. I don’t cut them off because of it. Instead I am patient and try to understand why they see it that way. I’ve then talked about ectopic pregnancy and helped them understand the history of abortion as a medical procedure. The end result is they learn about something that they never would have heard about from their echo chamber or the pro life platforms they pay attention to.