An HST/STIS view of protoplanetary discs in Upper Scorpius: observations of three young M stars