Leveraging Haplotype-Based Inference to Describe Adaptation and Speciation