Latinos for Education has received a $5 million donation from the philanthropist MacKenzie Scott, the Boston nonprofit advocacy group said Friday.