Olivia Wilde found liberation in the failure of her 2022 film Don’t Worry Darling