The inquiry, part of an administration-wide racial justice initiative, came amid claims that the city has ignored illegal dumping in Black and Latino areas.