Limit Theorems for the Compositions of Distributions in the Lobachevsky Plane and Space