Ballarat man jailed for stealing wallet