Trump said he rejected NATO’s offer of help amid a regional ceasefire, saying the alliance was “absolutely useless” when needed.