Markets are often fantasized as machines for economic growth. But markets also have a big potential to tackle the imperative