Queen Elizabeth II on Tuesday confirmed that the British government would soon be introducing legislation to “ensure the integrity of elections,” a nod toward a proposal by Boris Johnson’s government to require voter identification during elections in the United Kingdom.