Foreign Minister Penny Wong and Ambassador to the US Kevin Rudd have been invited to attend the inauguration of President-elect Donald Trump, despite previously having criticised his intelligence and political loyalty.