On the K-stability of complete intersections in polarized manifolds