US First Lady Melania Trump has joked about her lengthy public absence in a speech at the White House Rose Garden.