Spending 2 years engaging in non-development activities (by choice) is not limited to women.
Biking around India: a non-development activity undertaken by choice.
Therefore:
We should all support paid family biking-around-India leave.
The logic is unimpeachable!
In any case, your mention of circumstances that could apply to people of any gender is a red herring. It's a workshop for women, not a workshop for people returning to the dev workforce after a 2 year hiatus.
I'm offering a reason why a men-only RoR workshop would be offensive when a women-only RoR workshop isn't. A RoR workshop for people returning from long trips abroad also wouldn't be offensive, although the equivalence you imply between the two ideas is weak.
Former-long-term-traveler-only RoR workshops are not offensive, though they are a bit silly.
Women-only RoR workshops are not offensive, and I don't think they're silly either.
The canned answer is, "The other 11 months of the year are White History Months."
This answer has become trite at this point, but the argument at its core remains valid. Unfortunately, there are serious biases in our society. Correcting those biases is a worthy goal, and one we should pursue. In the mean time, we can use Black History Month and Ruby Workshops for Women to compensate for the biases and at least try to treat the symptoms.