Constraints on the outflow in S106IR from He I 2.058-μm absorption-line and H I emission-line profiles