Troubled by Flint water crisis, 11-year-old girl invents lead-detecting device