Josh Hazlewood got the vital wicket of Liam Livingstone as England slipped to 108-6 in their chase of 180 against Australia.