An attempted escape by inmates at the Don Dale Youth Detention Centre is "not surprising" given critical staffing shortages, a union secretary has alleged.