[ty] Add relative import completion tests
This tests things like `from ...foo import <CURSOR>`.
I had previously tested this on an ad hoc basis inside
of my editor, so the token state machine already recognizes
this pattern.
Ref https://github.com/astral-sh/ruff/pull/18830#discussion_r2159670033