Canadian politicians are trying to tap into growing nationalist sentiment amid US President Donald Trump’s threats.