The president’s talk-show grand slam was a remarkable — and remarkably overt — display of media management.