If you were on a hiring committee, and your otherwise-qualified-candidate had a political opinion you objected to in this way, perhaps with a similar donation, would you refuse to hire them?
If you were about to hire a candidate and then found out that they donate regularly to the “Arrest kbelder and deport them to El Salvador” fund, would you hire them?
Depends what you mean by “political opinion”.
If it’s about government fiscal policy, probably not. If it’s more along the lines of discriminating against or undermining people’s rights, then yeah I would refuse to hire them.