For her second solo album, Kennedy’s array of diverse songs — from thumping electronica to full-throated crooning — shows us she won’t be pinned down