An inquiry has found that a mass killing by a British teenager in 2024 could have been prevented if his parents and state agencies had acted on his violence fixation.