King Charles will visit Southport following a stabbing attack that claimed the lives of three girls.