A systems-level approach to AI red teaming for managing emergent risks and sociotechnical vulnerabilities