fix(scripting): correct inverted vector component validation in jsToDynamicValue (#618)
ScriptEngine::jsToDynamicValue guards the JS->glm::vec conversion with:
if (!JS_IsNumber (x) || JS_IsNumber (y)) {
sLog.exception ("Vector's x and y components must be numbers");
}
The second clause is missing a '!': a valid numeric y triggers the
exception (since sLog.exception is [[noreturn]] and throws runtime_error).
That breaks every JS->vec2/vec3/vec4 conversion from a scene script as
soon as the script passes a real vector literal.
Caught while auditing the scripting refactor in #599. Restore the
intended predicate so both x and y must be non-numeric to throw.