Doctors will shape Labour’s 10 year plan to fix NHS crisis, says shadow health secretary