For nearly 23,000 Boston public school students, the wait for each day’s dismissal bell could soon be a little longer. Children in 60 elementary and middle schools will spend 40 more minutes each day in class under an agreement between the city, the school district, and the Boston Teachers Union that was revealed Friday.