Gray Swan works with every major frontier AI lab. Now it’s raised $40 million as it expands to sell security tools to enterprises building AI agents.