Starmer’s resignation marks a dramatic political development less than two years after he led Labour to a historic general election victory that ended more than a decade of Conservative rule in Britain.