Saudi Arabia and others are overlooking the new leadership’s jihadist past, hoping to gain an advantage on rivals in the strategically positioned country.