State-dependent interactions in ultracold 174Yb probed by optical clock spectroscopy