A new study suggests that teaching kids creativity can increase resilience.