The Canadian prime minister, who has emphasized welcoming refugees, attended "Come From Away" with the president's daughter in a pairing that was rich with symbolism.