Teen involved in Helena school fire enters plea agreement