An asteroseismic view of the radius valley: stripped cores, not born rocky