Hibernian have secured a spot in the new Europa Conference League next season after a 2-1 win over Livingston guaranteed fourth in the Scottish Premiership.