Long mocked as a nerdy pastime, Dungeons & Dragons is now backed by science as a tool for mental health and cognitive growth.