Text this: ResEntSG: Restoration entropy estimation for dynamical systems via Riemannian metric optimization