Yemen’s embattled president accepted an offer from the Saudi monarch to seek treatment in his kingdom after being wounded in a rocket attack, raising the possibility today that he could leave the country after nearly four months of mass protests seeking to end his 33-year rule.