Amplitude analysis of the B+ →d+D-K+ decay