Qatar’s prime minister has defended diplomacy as an act of courage, urging continued dialogue to resolve conflicts.