X-ray spectroscopy as a tool to enlighten the growth of Van der Waals nanoparticles in a supersonic jet