Gravitational form factors and mechanical properties of the proton: Connections between distributions in 2D and 3D