Ireland’s leader joins public to vote in general election