buck2: take Connector when constructing a SyncableQuery
buck2: take Connector when constructing a SyncableQuery

Summary: This makes it easier to add tests for this.

Reviewed By: ndmitchell

Differential Revision: D29550643

fbshipit-source-id: dd0da9115b0e6ca7ecd8a268e3c4ae46c6ae84bf

nodakai/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman