Social isolation affects millions of people, even Mars-bound astronauts. A savvy NASA psychologist is tasked with protecting these daring explorers.