Fun problem. At first crack, I would say that you need to have the line follow the circle instead of vice-versa, by expression-linking the line's (x) position to the circle. so the line's position would have an expression something like:
But I realize this may be a problem if you want the line to be moving at a constant speed
from left to right, in which case this requires more thought on my or someone's part ...