Matthew Doyle becomes the second member of Sir Keir Starmer’s top team to quit less than a year into the job