A Pair Correlation Function For Non-Stationary Spatial Point Processes That Depends On Covariates