Fix typo in UITestCase setUpClass method

Ask for cls.display instead of cls.window_manager when just the display
is defined.