Constellation Energy’s deal to buy Calpine is being driven by fast-rising demand for electricity by the technology industry.