The effects of state-dependent time delay on a stage-structured population growth model