Starmer says Labour ‘inherited Tories’ failings’ from Afghan data leak, must answer ‘serious questions’