Optimal Control of Nonlinear Networks Dynamics with Applications to Brain Stimulation in Alzheimer's Disease