President Joe Biden’s train-wreck debate with Republican opponent Donald Trump followed a series of decisions by his most senior advisers that critics now point to as wrong-headed, interviews with Democratic allies, donors and former and current aides show.