The Western military alliance’s Ankara summit is a chance for the Turkish president to showcase his country’s strategic importance abroad while tightening the political screws at home.