The Southport killer possessed large amounts of anti-Islamist material, including cartoons Muslims would find "highly offensive", the inquiry into the killings has heard.