Pope Leo XIV has said he was proud to exercise his right to vote as an American in the recent US midterm elections.