Foreign policy is rarely a big factor in Australia's poll - but the US president has changed that.