Lie products, closed geodesics and Fuchsian groups