Researchers from Bates College created a database of 1,300 children’s books and found a pattern of stereotyping characters of color.