CAUGHT IN THE ACT: GAS AND STELLAR VELOCITY DISPERSIONS IN A FAST QUENCHING COMPACT STAR-FORMING GALAXY AT z ∼ 1.7