Q-curvature and path integral complexity