Out-of-equilibrium protocol for Rényi entropies via the Jarzynski equality