TRIPOLI, Libya — After six months battling a rebellion that his family portrayed as an Islamist conspiracy, Col. Muammar el-Qaddafi’s son and one-time heir apparent said Wednesday that he was reversing course to forge a behind-the-scenes alliance with radical Islamist elements among the Libyan rebels to drive out their more liberal-minded confederates.