In another boost for Erdogan’s international standing, Turkey’s role in Syria won praise from President-elect Donald Trump