Azerbaijan’s takeover of Nagorno-Karabakh has unleashed a grab bag of regional rivalries that have the potential to turn hostile