Imaging plasma formation in isolated nanoparticles with ultrafast resonant scattering