The Mountain Fire, northwest of Los Angeles, destroyed dozens of homes and forced thousands of residents to flee as forecasters warned of the potential for “extreme and life-threatening” blazes.