Qatar's emir leaves Saudi Arabia after Gulf summit