Contact morphologies for ultrafast optoelectronics in 2D materials