Martin Shkreli, who is serving a seven-year prison sentence for fraud, must return profits he and his former company reaped from raising the price of a lifesaving drug, a federal judge ruled.