Saudi energy minister says energy security and transition must go hand in hand as attacks disrupt a major Riyadh conference.