NATO is moving “in the right direction” following the summit in Ankara, with allies remaining united behind Ukraine despite earlier tensions, a former senior US commander has said.