Electronic reconstruction through the structural and magnetic transitions in detwinned NaFeAs