CLEAR: The Gas-phase Metallicity Gradients of Star-forming Galaxies at 0.6 < z < 2.6