Build query args from the provided ddoc, not by fetching the view

We can't assume the database shard containing the view will exist on
the local node, so rather than trying to fetch it directly, build up
the query args from the provided ddoc parameter.