A judge refused to dismiss a securities fraud lawsuit accusing American International Group Inc. of misleading investors about its exposure to subprime mortgages, which led to a liquidity crisis and $182.3 billion of federal bailouts.