Resolutions of letterplace ideals of posets