An annual jab to protect against HIV “shows potential”, according to an early study.