A Houston-based commercial real estate law firm is in a legal fist fight with a former client that manages apartment communities across the country—a client it represented for seven years.