Motion correction for robot-based x-ray photon-counting CT at ultrahigh resolution