Queen Elizabeth II, the longest-reigning monarch in British history, was a pioneering female leader on the world stage.