Constraining primordial non-Gaussianity using two galaxy surveys and CMB lensing