HAMDEN — Plagued by persistent leaks, the nearly century-old Hamden High School is slated for a long-overdue roof replacement that district officials say is essential to protecting students and staff.