I would not use the chi-squared test for this. You don't need a test to see if the proportions differ, you believe they differ—that's why you are trying to determine the 'worst'. There can't be a worst if they are all equal. Instead, you want a ranking. To get a ranking, we need to estimate some underlying quantity on which the ranking is based. In your case, you need to estimate an underlying probability (I think, or maybe the rate) of having an incident.
The problem is that you have differing amounts of information on which to base your estimates. This is actually a pretty common problem in a ranking context. What you need is something that will adjust the observed proportion itself to account for the differences in information. I suggest a more or less Bayesian approach. First, I suspect the different types of incidents are correlated due to common issues like better or worse maintenance (or perhaps proximity to the sea). I would compile a matrix from all countries (in rows) and all incident types (in columns), with each cell being the observed proportion. Then, I would compute the correlation matrix by columns and run a principle components analysis. See how many PCs seem reasonable. My guess is that you can cluster your incident types into at most a few groups, possibly even only one. Within each group of incidents, average the observed proportion within each incident type, and then average over the averages. (If you have a complete, balanced dataset, this is the average over the matrix.) This becomes your baseline proportion for all incidents within that group. Then determine the population sizes, and compute their average likewise. This is how much information the baseline average is typically based on. (At one extreme, you would have a single baseline and population average for the entire dataset, at the other extreme, you would have a different baseline and population average for each incident type.) With these two pieces of information, you can adjust your observed proportions. Specifically, just do a weighted average of your observed proportion with your baseline proportion, with the observed population size and average population size as the weights. All estimated proportions will be moved at least somewhat towards the baseline average, but small populations will be moved more and large populations will be moved less. That's it. The worst country is the one with the worst adjusted probability of incidents.