Prime minister Keir Starmer vows to prove his doubters wrong after the Labour party’s poor election results deepen internal doubts.