California joined 18 states in filing a lawsuit challenging an executive order that seeks to revoke birthright citizenship.