President Joe Biden and Ukraine’s president, Volodymyr Zelenskyy, signed a security agreement to bolster Ukraine’s defenses for 10 years.