The photographer delved into the collection of the Royal Botanic Garden, Edinburgh, to reveal the miniature wonder of plants’ drive to survive