Adaptive Output Steps: FlexiSteps Network for Dynamic Trajectory Prediction