California has filed a lawsuit against the Trump administration over its decision to end a program that protects young immigrants brought to the United States illegally as children or by parents who overstayed visas from being deported.