President Barack Obama may be related to the first documented African slave in revolutionary America, genealogists say.