M-dwarf stellar winds: the effects of realistic magnetic geometry on rotational evolution and planets