A stormy hearing, including a city council member’s threat to sue Washington, D.C.’s chief financial officer, exposed sharp divisions Thursday among city leaders about the nation’s capital becoming the first governmental entity in the United States to operate Internet gambling.