The Canadian president mocked for wearing Chewbacca socks at an international conference