This method actually works. But it requires a bit of work and some luck. I caught about 10 pairs of Kakunas from my Friend Safari in XY and tried breeding them. Halfway through I found some of my Weedles having Hidden Abilities (HA). If you just want a Beedrill with its HA, try catching some Kakunas from your Friend Safari and level them each by 1 level so that it will evolve into a Beedrill and check if they have their HA. Alternatively, you may also evolve all your Kakunas into Beedrills and start breeding with Beedrills (after confirming that that Beedrill has its HA) instead of Kakunas.