Former Defense Secretary Mark Esper wrote in his memoir that Trump’s constant leaks were “generally bad for the country.”