Nothing unwitting about it, I assure you
My recollection was that at A-level (not FM A-level), differential equations were always solved by forming the 2 indefinite integrals, and I didn't want to go too far from the route the OP had taken. I did emphasize the need to consider the behaviour over the entire range. I also thought showing that explicitly "your actual
solution is undefined at x^3 = k" was a bit more direct than merely discussing behaviour of the integrand, when (I assume) A-level students will have encountered integrals where the integrand is undefined at a point but the integral still converges.
I disagree that the limits are where the waters are muddied. To my mind, the real problem is that (arguably), it's not clear whether k - x^3 should be treated as +ve or -ve, or indeed, whether both are valid possibilities. I don't see using definite integrals as resolving this. It's not knowing this sign that causes a potential ambiguity; if not unresolved, you're going to have to consider both possibilities, find the two consequent potential values for k and only
then will you be able to tell "yeah, that second value doesn't work".
If I was doing it personally, having noted that k-x^3 can't change sign, I'd note that x is an increasing function of t (and so k-x^3 must be +ve) to get rid of the modulus signs early. Again, this is something I did try to hint to the OP, although it doesn't look like he took it on board.
And don't forget, in this midst of all this, that from the OP's description of the mark scheme, it doesn't seem like the examiners considered this at all. I do think "don't worry about modulus until you find out you need them" is actually pretty reasonable advice at this level.