As Iran war reshapes the Middle East, Turkey’s regional role looks set to expand