Activated drying in hydrophobic nanopores and the line tension of water