The evolution and demography of X-linked and GWAS SNPs