I think this isn't well defined yet. Wrapping a ball of yarn is not the same as filling a sphere with yarn. Case in point: your most-dense spherical picture, which would almost instantly fall apart.
I think one also has to come from at least two stand points: wrapping cylindrically, where the cylinder eventually turns so as not to destabilize, and wrapping spherically, where you attempt to wrap the ball in a three-dimensional pattern.
What plays into this? Well, first: strings have a point of contact with a string below, at which point they wrap in a circular arc of inner radius equal to the radius of the string, rotated through the differential angle. So if they cross the string below perpendicular to that string, then they have an arc radius equal to the radius of the string itself. But if they cross at a flatter angle, the arc becomes elliptical.
Second point: from support to support, a string approximates a straight line.
Third point: it matters whether the string crosses a supported string or an unsupported string. Crossing an unsupported string will crimp down the lower string, averaging energies of deflection. That lower string, in turn, may crimp down on others below, modifying previous wrappings.
Fourth point: strings inherently want to not turn their angle of wrapping, but may turn at support points, subject to friction and (possibly) sliding off their support point in a mode of failure, either partial or absolute. Partial failure is a dynamic change that does not result in the collapse of the entire ball or an entire loop. The study of partial failure of the ball of string might provide a whole interesting field in and of itself.
Fifth item: if a string is wrapped around a ball, say in a vertical loop, the ball turning on a vertical access only each time, then at the top and bottom nodes of the ball, the height of the wrapping point increases until instability results. Therefore, the ball must be turned on a non-vertical axis, resulting in a precession of the wrapping point. So talking about the optimum path may involve studying the path of the wrapping point. But the path of a wrapping point isn't a path only, it is a nodal path, with support at the nodes. This is important, because it allows the wrapping path to cross itself.
Sixth point: the wrapping path's crossings of its own path can itself create or eliminate instabilities: that must be studied too. It is the wrapping path, and the crossing of wrapping paths that affects ball density.
We could design a stable ball to have minimum density, or maximum density.
So anyhow, these are my current thoughts on the matter.