Here’s a super messy (basically stream-of-consciousness) argument that 19 chains, at least, is impossible on 5x5:
Each empty point can only be a liberty to at most 4 different chains, and each chain consists of at least 1 stone.
So for instance to get to 20 chains, we would need 5 isolated empty points, each connected to 4 chains, which is impossible. (we would have to place all the five empty points in the central 3x3 square, but then some chains willl get 2 liberties)
So let’s look at 19 chains and 6 empty. Number of connected chains for each empty point would need to distribute in one of these ways:
4 4 4 4 3 0
4 4 4 4 2 1
4 4 4 3 3 1
4 4 4 3 2 2
4 4 3 3 3 2
4 3 3 3 3 3
But actually, having three 4’s is impossible: once again they will all have to be in the central 3x3, but they then will end up too close to each other. So we are limited to the last 2 options above.
If we are to achieve 19 chains, each point that is not one of the 7 empty has to be a 1-stone chain. This makes what can happen in the corners quite limited. If a corner is not empty, there has to be an empty point next to it, which has at most 3 chains. If a corner is empty, it is connected to at most 2 chains. Thus in the scenario “4 4 3 3 3 2” from above, we can tell exactly where each empty point must be placed:
Two 4’s in the central 3x3
Three 3’s adjacent to three of the corners
And a 2 in the last corner.
Here none of the empty points are allowed to touch, and kosumi’s and jumps are forbidden as usual. Now it’s easy to see that this arrangement is impossible, since a stone at either of the circles makes all of the crosses forbidden:
(so after the three 3’s are placed next to the corners, there is not any space left for the two 4’s in the center)
Ok, one possible configuration left: “4 3 3 3 3 3”. None of the empty points are in the corners, so there must be four of them adjacent to corners, but then (looking at the above image again), the center is completely forbidden, so the last “4” is impossible to place.
If I didn’t make a mistake (very well might have with how messy this got), this proves that 19 chains on 5x5 is impossible (also I don’t think this assumed 2 colors?).
In many parts of this argument the given task seems not even close to working, so maybe with some tidying up a similar argument could prove 18 impossible?