A kilonova associated with GRB 070809