The president’s political power depends on his ability to play different roles for different parts of his coalition.