Use std::unique_ptr to handle transient ownership of UnwrappedLine in ScopedLineState