SEATTLE — McWhinney Real Estate Services Inc. is among 18 companies caught up in a class-action lawsuit alleging that the software the company uses to manage its residential leases is part of a nationwide scheme to fix apartment rents at higher rates.