England are on the brink of an Ashes series defeat after Australia's Nathan Lyon broke their resistance late on the fourth day of the third Test in Adelaide.