Text this: Simultaneous Inference of Past Demography and Selection from the Ancestral Recombination Graph under the Beta Coalescent