By the skin of his teeth, Dubai’s ruler opens the world’s most ambitious—and outrageous—racetrack.