Given that Lula is an avowed leftist who counts Hugo Chávez and Fidel Castro among his friends, Brazil’s performance is all the more surprising. How could he manage to preside over such a spectacular stock-market boom?