Text this: Type-I two-Higgs-doublet model and gravitational waves from domain walls bounded by strings