Astronomers will use the Webb telescope to closely monitor the size and trajectory of an asteroid that has a slim chance of striking Earth in 2032.