Holographic geometries of one-dimensional gapped quantum systems from tensor network states