Virginia school had three warnings about 6-year-old with gun, says lawyer