On the evolution of elastic properties during laboratory stick-slip experiments spanning the transition from slow slip to dynamic rupture