With help from producer Rick Rubin, the indie singer-songwriter’s third album confronts the messy reality of adulthood while taking her signature sound to the next level