In “Devotion,” Patti Smith unspools her songwriting process in intimate, almost confessional passages, weaving personal anecdotes with sharp observations about art, fame, and the relentless drive that fuels her voice.