Pope Leo XIV has become the first pontiff to vote in a United States general election, casting a ballot for the midterms by mail.