Graph Representation Learning for Contention and Interference Management in Wireless Networks