In war zones and refugee camps, researchers are putting resilience interventions to the test