Livni wins Israel party primary