Late-night training, suspenseful TV, and blue light can keep your nervous system wired when it should be winding down. Here’s how to protect sleep before bedtime.