From Baghdad to Tenochtitlan, these cities once sat at the center of global power, trade, and knowledge — and their rises and falls still shape the world today