Īmēra pūkete: The Impact of Star-formation-rate Surface Density on the Electron Density and Ionization Parameter of High-redshift Galaxies