The suspect allegedly entered the primary school and opened fire before being shot down by a member of the community