A Nairobi court has released Julius Kamau, a well-known activist and vocal critic of the government, after he was detained