VALES VI: ISM enrichment in star-forming galaxies up to z < 0.2 using 12CO(1-0), 13CO(1-0), and C18O(1-0) line luminosity ratios