The lawsuit challenges a new law that mandates major energy producers to contribute $75 billion to a fund aimed at addressing climate change damage.