At the crossroads of empires and ideas, Baku blends ancient traditions, bold architecture and a fiercely evolving identity.