Engineers designed a sensor that attaches to plants and tracks their stress in real time without harming them. It could help monitor responses to drought and fires.