Doctors are “thwarted” by politicians’ mismanagement of the NHS and workforce, say junior leaders