Chi Ossé, an outspoken lawmaker, was later released. Mayor Mamdani called the incident “incredibly concerning.”