Scattering experiments meet N-body - I. A practical recipe for the evolution of massive black hole binaries in stellar environments