Obama will likely emphasize Senegal’s reputation as a peaceful, democratic state in a region increasingly embroiled in battles with extremists.