Dynamic toxicity landscape of immunotherapy for solid tumors across treatment lines