A Canadian premier has gone viral on social media after he wore a hat to send a very clear message to Donald Trump ahead of his inauguration.