Developer sought to build medical worker housing at former St. Mary’s School in downtown Waterbury