Lawsuit claims school failed to act properly both before and after the incident in which the four-year-old’s finger was injured