Лиха is a feminine short form of an adjective "лихой" (archaic: evil, hard).