[BE] Switch to sbom_graph_paths table for GraphQL query

Why are we doing this work?

After we introduce and populate sbom_graph_paths table we can switch to using that for the GraphQL query

Implementation plan

  1. Revise the implementation of ee/app/graphql/resolvers/sbom/dependency_paths_resolver.rb to work with new tables and data
  2. Update query to include Connection type for pagination support
Edited by Lucas Charles