Waking up at 3 a.m. after 40 can have several causes, from menopause and stress to alcohol, bladder symptoms, and sleep apnea. Here’s how to spot your pattern.