An invasion of Taiwan would be 'detrimental' to Australia's national interest