I agree that many people vote for Trump to "get back" at people that make them feel inferior. I cannot imagine voting for someone to lash out at people that make me feel inferior. It's not that often that anyone makes me feel inferior, I guess. But to the extent I ever do, it wouldn't affect my vote. Shoot, hyper-liberals give me crap a lot about not being "woke" enough, or not being "green" enough, "pro-woman" enough and so forth. I just never give it another thought. They don't make me feel inferior. Likewise, Trump supporters sure as shit don't make me feel inferior.
I feel bad that folks have the motivations you describe, and I feel kind of shitty making fun of them and try to avoid it.