Unsupervised Joint $k$-node Graph Representations with Compositional Energy-Based Models