Light flavor hadron production as a function of the charged-particle multiplicity at the LHC