Young climate activists argued the federal government’s role in climate change violated their constitutional rights.