To find the Gym Leader in Hearthome City, you first need to meet her at the Contest Hall.
If you go inside and nothing out of the ordinary happens, try entering a Pokémon Contest or two. That usually triggers the encounter. Beyond that, it's a spot where a lot of players get stuck, so patience and a contest attempt are your best tools.