Johnson overcame racial and gender-based discrimination to become an integral part of Nasa’s work in space exploration