An emergency fund is your first line of defence against life’s financial curveballs. But if it’s locked in risky investments, you could be left scrambling when you need it most.