Build inventory filter structure
Selects nodes by tags and returns them grouped by inventory in the format expected by Gateway Manager's runService method. Returns inventory name with nodeNames array for partial matches, or inventory name only when all nodes are selected.