President Obama and Canada's new Prime Minister Justin Trudeau traded jokes at a White House state dinner.