The unannounced trip sends a strong signal to his oil-rich Saudi ally as Riyadh comes under near-daily attack