Liverpool have confirmed an agreement to sign central defender Ibrahima Konate from RB Leipzig after triggering the player's £36m release clause.