The president spoke for the first time about a previously undisclosed flight after the NATO summit in July.