Satirizing Barack Obama has not been easy for The New Yorker magazine or the phalanx of late-night TV hosts.