Semi-local inversion of the geodesic ray transform in the hyperbolic plane