On Optimal Terminal Wealth Problems with Random Trading Times and Drawdown Constraints