what is wrong with this litecoin transaction? getting "tx rejected: (code -22")
It looks like these are freshly mined Litecoins that have not matured yet, you need to wait until they mature to spend them. Maturity refers to the number of confirmations that newly mined coins need to have. For Litecoin (and Bitcoin) this is 120 blocks.

(See a discussion related to this here: https://github.com/litecoin-project/litecoin/issues/26)

So you won't be able to spend these coins until those blocks get mined. But at the rate that Litecoin blocks get solved that would be around 4 hours, which means that same transaction might work now.