Use api_origin_visit_latest instead of _origin_latest_snapshot in origin search.
The former only supports an origin id, and fetches a whole snapshot while we're only interested in knowing if there is such a snapshot here.
Depends on !153 (closed).
Migrated from D1710 (view on Phabricator)