How to use watchdog timer in ATmega128
Instead of using Watchdog timer for this purpose,

Start a timer before accepting inputs from User, Reset that timer everytime user enters something... If user is inactive for given time, Timer will overflow... Set flag in timer and if that flag is set, break out from your "Accept Input" Loop!