By putting wellbeing on the same level as infrastructure or economic growth, Dubai is building a framework that changes how a global city is judged