GLINKX: A Scalable Unified Framework For Homophilous and Heterophilous Graphs