As others have said, I am very sorry for what you are going through. I have been a caregiver to my husband, who has alcoholic cirrohsis, since late August. It is a living hell.
You are right about nights being worse, but I don't know if it's them or us. I have far less patience when I am being awoken every hour at night for toileting, confusion, general conversation, the room's too hot or too cold, whatever. Whenever the same behavior presents itself during the day, I have much more patience.
You need help. If you don't have power of attorney, then a court ordered intervention sounds right. If you are low income or a veteran, you may be able to get gratis legal help from the state or federal governments, or from a local law firm that does pro bono work. The legal firm might also be able to pro bono assistance in getting your wife signed up for social security disability, if she qualifies, although that can be a tough row to hoe.
Have you thought about Hospice? They will provide help for end-stage liver disease even if you cannot afford to pay. If you belong to a church, you may be able to get volunteer and respite care from church members. Is your wife on Medicare? After 3 days in an acute care facility, she should qualify for home health care or a skilled nursing facility. Talk to her discharge social worker at the hospital she was in to see what sorts of resources they can send you to.
Sometimes other caregivers can get further with a patient (in terms of calming them and getting them to take meds) than can a spouse.
Do you belong to any social clubs or civic organizations that will "grant" you money to hire a private duty caregiver a couple nights a week?
Don't be afraid to ask around for help. People want to help when they know there is distress, expecially extreme distress such as yours.
Neighbors? Friends? Family? Even if it is only to bring in meals. She needs a low-sodium, low-protein diet, and maybe those persons can't cook to those specifications, but at the least, you need to stay as healthy as you can to care for her. You can likely talk with a nutritionist at the hospital she was in about her dietary restrictions.
Talk to her doctors. Let them know how bad the mental confusion is. They may be able to adjust her meds, or like a social worker, send you to resources to help.
I don't want to make this all about her, because I can tell how much you also are suffering. I know I've outlined a number of steps that will be exhausting to pursue, but in the long run, they may help you (personally) alot. My thoughts are with you. Take care.
Venita and Jim