A man who broke into a Belfast bar and left his DNA on a bottle of Jägermeister has been jailed.