Measuring the Luttinger liquid parameter with shot noise