[lit] Implement support of per test timeout in lit.