Ableton live midicontroller with Arduino Uno

It looks like you have got the MIDI socket wired up wrong.
Swap over pins 4 & 5

Often people don't say if a diagram like that is looking at the front of the socket or the back.
Pin 2 should not be connected to anything but hopefully your MIDI lead will take care of that, as that shouldn't have anything wired to it either.