OK, so I'm doing a bit of experimentation, and from what I can tell calling play["soundname"] in a contraption does seem to play the corresponding sound in the deck actually! Could be worth checking your syntax, since you've got a single quote in your example instead of a double quote? But what you've got should work, I think! If it's not working, maybe there's an example deck you can share so we can have a look?
But nevertheless, I'd say this isn't ideal for a contraption since a contraption should be transferable between decks as a single unit, and the sound resources don't come with it if you paste it into a new deck. So I think it's probably better if the sounds are contained in the contraption.
Essentially what you can do is in the code for the contraption (either in the code for a button or in the whole of contraption code, depending where you need it, do something like
sound1:sound["the big text string goes here"]
only using the output from running deck.sounds.soundname.encoded in place of the string.
And then you just call like sound[sound1] when you want to play it.
I did up a quick demo contraption, with one button that'll look for a sound named "amen" in the deck resources and play it, and one button that contains the sound itself encoded as a string. If you have a sound in the deck named "amen" (I just copied it across from the example sounds.deck) then both buttons should work the same way. But if you don't have a sound like this, the top button won't do anything, but the bottom button should. It looks like my contraption is too big for the itch editor so I've uploaded a deck containing it here: https://zine.milliesquilly.com/surprises/sounddemo.html
Feel free to poke around the contraption code, see how it behaves when copied into another deck, etc.