US secretary of state, in Riyadh, tells Mohammed bin Salman of need to prevent further attacks by terror group and prevent Gaza conflict from spreading