As a deadly cancer spread inside her brain, leading neuroscientist Barbara Lipska was plunged into madness—only to miraculously survive with her memories intact