Slovenia elects new leader amid social tensions