Sir Keir Starmer has dismissed an online petition calling for an immediate general election.