In the same spirit, it is still a free country for the employer as well. If this guy voted for the policies (adminstration) that caused the needed lay off then this is entirely appropriate not to mention a wonderful lesson in unintended consequences.
Now I know who I'd like to lay off... And given the cognitive ability displayed in casting a vote for an obvious impostor and fraud -- its likely that this person lacked in the competence department...
But all of that said - the employer needs to judge based on the employee's performance. And not base his layoff decision on the bumper sticker on the guy's car (or whatever metric the employer used to determine the layoffee was an Obama supporter).