Text this: Constraining the dispersion measure redshift relation with simulation-based inference