A former Thames Valley Police officer has been found guilty of gross misconduct after taking 21 days of unauthorised leave.