When stocks rose after last year’s election, DryShips left the market far behind, with its shares rallying 1,500% for no apparent reason. The rally quickly unwound, but the run-up appears to have made possible a flurry of financial maneuvers that may earn the company’s founder a huge windfall.