Kamala Harris and Donald Trump have both descended on Pennsylvania in a last-minute sprint for votes in an election that could be decided by gender.