The amendments to Maryland’s building code for new large commercial sites would weaken the national energy code that it is supposed to follow, environmental groups say.