Sri Lanka detains ex-minister Rajapaksa for alleged corruption