The detail from the text that best supports the inference that Kennedy sought an alliance between nations is:
D. My fellow citizens of the world: ask not what America will do for you, but what together we can do for the freedom of man.
This statement emphasizes the importance of collaboration and collective action among nations to promote freedom, suggesting a desire for partnership and alliance.