Testing for correlation between network structure and high-dimensional node covariates