Speciation as a Sieve for Ancestral Polymorphism