Lyft accused San Francisco of improperly calculating the company's taxes by including driver compensation in its revenue.