How machine guns, 20,000 emus, and a determined major turned Western Australia into history’s oddest battlefield.