Researchers have developed a new device that is able to detect cortisol levels through sampling ear wax.