No, it is not almost discrimination. Read the clarification the CEO provided after so many people misunderstood the intent of the original letter:
> I want to clarify that I did not ask for anyone to resign if they voted for Trump. I would never make such a demand. To the contrary, the message of the email is that we do not tolerate discriminatory activity or hateful commentary in the workplace, and that we will stand up for our employees.