Experimental and first-principles calculation of the time-dependent evolution of phonon and carrier populations after photoexcitation in GaAs observed by diffuse x-ray scattering at the PAL-XFEL