Ab initio simulations of x-ray emission spectroscopy with the GW+ Bethe-Salpeter equation method