A Two-Stage Framework for Energy-Efficient Group Activation in RIS-Assisted Communication Systems (IEEE Access, 2026)