US president told confidants the billionaire’s role at Doge could end sooner than expected