A woman alleging gender bias at a prestigious Silicon Valley venture capital firm testified that she couldn’t turn back the advances of a male co-worker with whom she’d later have an affair because of her injuries from an accident on a trip to Germany.