Scaled particle theory study of the lengthscale dependence of cavity thermodynamics in different liquids