Drying-induced hydrophobic polymer collapse