European leaders are grappling with the idea that the continent might not be able to depend on the United States for security under the leadership of President Donald Trump.