Stationarity of resonant pole trajectories in complex scaling