When President Obama appears on late-night television, he tends to play to the host’s strengths. He’s slow-jammed the news with Jimmy Fallon and recited mean tweets with Jimmy Kimmel.