NATO’s chief and the acting head of the Pentagon said they were encouraged by the progress of peace talks with the Taliban in Afghanistan, after the U.S. special envoy for the conflict-wracked country announced that American and Taliban negotiators had agreed on a draft “framework” for a peace deal seeking to put an end to the 17-year war there.