The Queen has warned of the “daunting task” of achieving global gender equality in future years during a speech attended by a host of notable women.