Graph contractions in vector-valued metric spaces and applications