Hull City have completed the signing of Honduras left-back Maynor Figueroa on a two-year deal after his release from Wigan Athletic.