Sleep doctors say getting out of bed could help insomnia. Here’s the science behind the 20-minute rule and how to use it.