Southport child killer Axel Rudakubana received care from an NHS mental health service for four years prior to his knife attack, a hospital trust has said.