Dynamics of the elliptical galaxy NGC 7097 measured from gas and stars