If you put your two geopoints in a geotrace, you can measure the distance of the trace - ie the distance between the two locations - using the ODK distance() function.
After which you can use this value in a constraint no different than a regular constraint calculation; eg ${distance} < 100