The matriarch of the royal family wasn’t supposed to be queen. But she turned out to be the perfect person for the job.