Raspberry Pi power on USB
That's not going to work.  the keyboard will need to be asked repeatedly  if any keys have been pressed, the keyboard won't put signals on the USB without being asked. thast copuld be tricky and/or impossible to do with a an ATTINY.
Your best bet is probably just to confugure the raspberry pi into a low power mode (eg, by turning off the display and the networking)