We’d have a better chance of preserving Africa’s dying languages if we learned their history