Russia’s decline has given Turkey the freedom to pursue its interests, and Ukraine is the beneficiary.