Prominent Kenyan activist Boniface Mwangi has been charged over his alleged role in the deadly antigovernment protests.