On the integrability of the 5-dimensional Lorenz system for the gravity-wave activity