This false dichotomy is key to the false comparisons with Lysenkoism, etc. E. O. Wilson did not represent all scientists even during his working career and many of the people criticizing him are also scientists using their scientific expertise. The author of the Scientific American piece is “an associate professor in the Family Health Care Nursing Department and a clinician-scientist at Advancing New Standards in Reproductive Health at the University of California, San Francisco.” — hardly a political apparatchik. Some of the most outspoken criticisms of his work came from Richard C. Lewontin (a population geneticist) and Stephen Jay Gould (a paleontologist).
Similarly, Razib Khan is someone who is at least comfortable using his expertise in forums which do not shy away from race politics — for example, he lost a contract writing for The New York Times when his regular contributions to Taki's Magazine, a very conservative venue which was at least neo-Nazi-adjacent (Richard Spencer was the managing editor). That doesn't mean that we should dismiss Khan's writing entirely but we should recognize that he's a human rather than the objective voice of science and his work also needs to be read with an understanding of how his political positions influence it.