A wave of lawsuits across the world asks judges to do what governments have so far failed to do: aggressively confront global warming.