A decade ago Dubai had one of the largest ecological footprints of any city in the world. By 2050 it wants to have the smallest. Can it get there?