Continuation of probability density functions using a generalized Lyapunov approach