Measurements of the momentum-dependence of plasmonic excitations in matter around 1 Mbar using an X-ray free electron laser