Man accused of holding girlfriend hostage