Penny Wong will use a major speech to warn against ditching the US alliance despite foreign policy headaches caused by Donald Trump.