Direct production of light scalars in the type-I two-Higgs-doublet model at the lifetime frontier of the LHC