"лакейскую" is an adjective made of "лакей" (lackey, flunkey, manservant). "-ую" does indicate the female gender of the noun which the adjective "лакейскую" is referred to.