Trail camera captures perfectly timed photo of a leopard on the hunt