Victorian Liberal State Secretary Stuart Smith has resigned over text messages making fun of the party's women's council and mocking a female MP.