The vast majority of Maryland school facilities are in need of repairs or are “functionally unreliable,” amid skyrocketing construction costs, according to a new report from the state’s comptroller.