A six-year-old American boy's letter to Barack Obama, offering a place in his family to a Syrian refugee, has gone viral.