It's one thing to have liberal beliefs that influence your work in subtle ways, and a whole other thing to actively manipulate research to promote those social causes. Research on gender affirming care for minors should not be published or buried simply based on which side it supports, but that is exactly what has happened in that field.
Given how anti-science and anti-education the republican party has become I doubt we'll see a swing in political beliefs among researchers any time soon, but they absolutely can and should be as diligent as possible about maintaining their intellectual honesty.