If you keep building your tech skills, you can get into a good hedge fund job after a few years. Just treat it the same as interviewing for a good tech job. Hedge funds more selective but also more meritocratic and predictable than Valley firms. The problem in the Valley is that, although it has as many smart people, pound for pound, as Wall Street... the Valley has more stupid people (and fewer smart people) in decision-making roles.
Startups aren't inherently damaging. The problem is that they're volatile and experience constant reorgs. Your job might be totally different in 6 months. Or it might not exist. This leads to a "job hopping" pattern that, from a more conservative finance perspective, makes you look bad. Banks and hedge funds are more stable so it's rare that someone is that unlucky as to have, say, 6 jobs in 5 years through no fault of their own. But it happens all the time in VC-funded startups.