The King has told world leaders the past cannot be changed but nations can “commit” to “right inequalities that endure”.