Text this: The association between resilience resources, contextual factors and mental health status: a national population-based study