Boston Children’s Hospital will build a new $640 million pediatric psychiatric hospital in Brighton, officials announced Wednesday, funded with the largest donation in the hospital’s history.