The singer and songwriter, who died on Friday at 86, gave voice to teenage dreams, then executed one of music’s most unexpected comebacks.