Hilton Cartwright has revived Western Australia’s faltering one-day cup title defence in a dramatic match-winning partnership with Ashton Agar.