Quantum control of exciton wave functions in 2D semiconductors