European leaders tested solutions to NATO's new problem: how to handle an America that can both anchor the alliance and shake it.