Conditional Independence Testing with Heteroskedastic Data and Applications to Causal Discovery