Long-standing squeeze on capital spending leaves hospitals like Queen’s Medical Centre managing failing infrastructure