Hi,
this has been discussed before (and no, you can't have a listener).
The short answer is: you have to define a periodic function that periodically checks the mutual node's distance and, if the two are too far away, triggers an appropriate action.
HOWEVER, this is a very bad idea for the following reasons:
1) Nodes usually don't know the respective positions, or they have just an approximate idea
2) Nodes doesn't care about the mutual positions. The signal strength is way more important.
Any handover based only on Euclidean distance could be only justified in open space. Are your eNB and UE located in the space (I mean, between Earth and the Moon) ?
Anyway, it's your choice.
Cheers,
T.