A study of 25,000 people in 25 countries sheds light on what resilience is and how leaders can cultivate it.