Penny Wong will attend Donald Trump's inauguration, becoming the first foreign minister in recent memory to receive an invitation for the ceremony.