Optical saturation driven by exciton confinement in molecular chains: A time-dependent density-functional theory approach