I don’t think you need anything else than
stepper17.runSpeedToPosition();
It will block us you reached the destination
Also it’s a misconception if you think that the stepper would step every time you ask to run. Speed and acceleration come into play and the step is taken only when the step is due.