Time-domain analysis of pulse propagation in high-contrast layered structures with resonant nonlinearities