The president spent his time in Walter Reed quizzing advisers about how his disease was “playing” in the press. He was also scheming.