Her younger sister’s attitude toward cancer in 2012 became an inspiration for a resident pediatrician’s work with teenage patients.