I think if you can get it documented that she's cutting herself, you'll have a pretty good case that you should be primary custodian, and maybe she should have limited time with D1 until she can get help. There comes a time when you consider potential long-term impact on the marriage as a much lower priority than caring for your child and protecting your future. If she wants to flush her life down the tubes, I don't think you should join her. Sounds like you have your priorities straight to me.
You cannot be lonely if you like the person you're alone with. Dr. Wayne Dyer