Maryland has joined 22 other states in a lawsuit against the Trump administration over cuts to medical research, the attorney general's office announced Monday.