A law that took effect this week allows Florida consumers to ask state regulators to investigate why a financial institution canceled an account or rejected a loan application. The law, which applies to federally chartered banks, could lead to a legal battle over the limits of state powers.