A teenager accused of torching a shop and allegedly fleeing the scene has been bitten by one of Victoria’s four-legged officers.