Cashmore had to change her training routine after battling injury into Paris 2024