How the Saudi crown prince used oil and political cunning to overturn his pariah status