It’s not an expression. It’s a joke. “I wish I could” usually comes before a reason why someone can’t help, like “I wish I could, but I’m busy.” It’s not socially acceptable to say that you don’t want to help, so instead of saying “I don’t want to help”, she was pretending she had a reason that she couldn’t help, but her only reason was that she didn’t want to.