Jarzynski-like equality for the out-of-time-ordered correlator