Incorporation of a wave-packet propagation method into the S -matrix framework: Investigation of the effects of excited state dynamics on intense-field ionization